odhcp6c: properly guard attributes
authorÁlvaro Fernández Rojas <[email protected]>
Thu, 13 Nov 2025 10:46:51 +0000 (11:46 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Mon, 17 Nov 2025 07:28:40 +0000 (08:28 +0100)
commitb46d79c8792cd5de9aded0c83956cd5ac76f8697
tree2e9e5cadbe5d81046ba4b97102946d587c556094
parentcbc8ff0e62261a5681dab1aa6d0e503545178354
odhcp6c: properly guard attributes

Properly guard odhcp6c.h attributes with `#ifndef` to avoid redefining them
when including external headers.
Also convert the remaining __attribute__ usages to the custom declarations.

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Link: https://github.com/openwrt/odhcp6c/pull/120
src/odhcp6c.h
src/ra.c